.app-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 30px 20px;
  box-sizing: border-box;
}

.main-card {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  padding: 50px 30px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.header-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
  opacity: 0.1;
}

.header-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 auto 15px auto;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  line-height: 1.2;
}

.header-subtitle {
  font-size: 1.1rem;
  opacity: 0.92;
  font-weight: 300;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 600px;
  text-align: center;
  line-height: 1.4;
}

.search-section {
  padding: 50px 30px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(248,250,252,0.95));
  box-sizing: border-box;
}

.search-container {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
  align-items: center;
}

.search-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-button {
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 80px;
}

.search-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.search-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.format-hint {
  text-align: center;
  margin-top: 20px;
  color: #666;
  font-size: 14px;
  padding: 0 20px;
  box-sizing: border-box;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  margin-top: 16px;
  font-size: 16px;
  color: #666;
}

.error-card {
  background: #fff2f0;
  border: 1px solid #ffccc7;
  border-radius: 16px;
  padding: 30px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 4px 16px rgba(255, 77, 79, 0.1);
  box-sizing: border-box;
}

.error-card h3 {
  color: #ff4d4f;
  margin-bottom: 8px;
}

.error-card p {
  color: #666;
  margin: 0;
}

.results-container {
  padding: 30px;
  box-sizing: border-box;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 30px 0;
  padding: 0 0 20px 0;
  border-bottom: 2px solid #f0f0f0;
  box-sizing: border-box;
}

.card-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
}

.recommendation-tag {
  padding: 8px 16px;
  border-radius: 20px;
  color: white;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.divider {
  height: 1px;
  background: #f0f0f0;
  margin: 24px 0;
}

.analysis-section {
  margin-bottom: 30px;
  padding: 0 5px;
  box-sizing: border-box;
}

.analysis-section h3 {
  margin: 0 0 20px 0;
  color: #333;
  font-size: 1.2rem;
  text-align: center;
  padding: 0 10px;
  box-sizing: border-box;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.strength-tag, .status-tag, .risk-tag {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.strength-strong, .risk-low {
  background: #f6ffed;
  color: #52c41a;
  border: 1px solid #b7eb8f;
}

.strength-medium, .risk-medium {
  background: #fff7e6;
  color: #fa8c16;
  border: 1px solid #ffd591;
}

.strength-weak, .risk-high {
  background: #fff2f0;
  color: #ff4d4f;
  border: 1px solid #ffccc7;
}

.status-oversold {
  background: #f6ffed;
  color: #52c41a;
  border: 1px solid #b7eb8f;
}

.status-neutral {
  background: #f0f9ff;
  color: #1890ff;
  border: 1px solid #91d5ff;
}

.status-overbought {
  background: #fff2f0;
  color: #ff4d4f;
  border: 1px solid #ffccc7;
}

.analysis-text {
  background: #f6f8fa;
  padding: 24px;
  border-radius: 16px;
  white-space: pre-line;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  border: 1px solid #e1e5e9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  margin: 10px 0;
}

.result-card {
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  margin-bottom: 30px;
  background: white;
  padding: 30px;
  box-sizing: border-box;
}

.metric-item {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.metric-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.metric-label {
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.loading-container, .error-container {
  padding: 80px 30px;
  text-align: center;
  box-sizing: border-box;
}

.chart-container {
  background: white;
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.recommendation-tag {
  font-size: 15px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 中等屏幕适配 - 平板设备 */
@media (max-width: 1024px) and (min-width: 769px) {
  .scores-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 14px;
  }
}

/* Responsive improvements */
@media (max-width: 768px) {
  .app-container {
    padding: 20px 15px;
  }
  
  .header-title {
    font-size: 2rem;
  }
  
  .header-subtitle {
    font-size: 1rem;
  }
  
  .header-section {
    padding: 40px 20px;
  }
  
  .search-section {
    padding: 30px 20px;
  }
  
  .results-container {
    padding: 20px 15px;
  }
  
  .result-card {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .metric-item {
    padding: 20px 16px;
  }
  
  .metric-value {
    font-size: 1.25rem;
  }
  
  .report-section {
    padding: 25px 15px;
  }
  
  .report-card {
    padding: 20px;
  }
  
  .enhanced-analysis-card {
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .investment-advice-card {
    padding: 20px;
  }
  
  .detailed-scores-breakdown {
    padding: 20px;
  }
  
  .quality-breakdown {
    padding: 16px;
  }
  
  .analysis-section {
    padding: 0;
  }
  
  .weight-info-panel {
    padding: 16px;
  }
  
  .weight-desc {
    font-size: 12px;
  }
}

/* Animation for cards */
.result-card {
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 新增：高胜率MACD金叉样式 */
.quality-tag {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.quality-high {
  background: #f6ffed;
  color: #52c41a;
  border: 1px solid #b7eb8f;
}

.quality-medium {
  background: #fff7e6;
  color: #fa8c16;
  border: 1px solid #ffd591;
}

.quality-low {
  background: #fff2f0;
  color: #ff4d4f;
  border: 1px solid #ffccc7;
}

.quality-breakdown {
  margin-top: 25px;
  padding: 20px;
  background: #fafafa;
  border-radius: 16px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.quality-breakdown h4 {
  margin: 0 0 20px 0;
  color: #333;
  font-size: 1rem;
  text-align: center;
  padding: 0 10px;
  box-sizing: border-box;
}

.principle-scores {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.principle-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.principle-label {
  flex: 0 0 160px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.principle-desc {
  display: block;
  font-size: 11px;
  color: #666;
  font-weight: 400;
  margin-top: 2px;
}

.principle-score {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.score-bar {
  flex: 1;
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  transition: width 0.3s ease;
  border-radius: 4px;
}

.score-text {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  min-width: 40px;
}

.macd-details {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  padding: 18px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin: 15px 5px;
  box-sizing: border-box;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #666;
}

.detail-item span:first-child {
  font-weight: 500;
}

.detail-item span:last-child {
  font-weight: 600;
  color: #333;
}

/* 响应式优化 */
@media (max-width: 768px) {
  .principle-item {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  
  .principle-label {
    flex: none;
  }
  
  .principle-score {
    justify-content: space-between;
  }
  
  .macd-details {
    grid-template-columns: 1fr;
  }
}

/* 报告下载区域样式 */
.report-section {
  padding: 30px;
  background: linear-gradient(to bottom, rgba(248,250,252,0.95), rgba(241,245,249,0.95));
  border-top: 1px solid #e1e5e9;
  box-sizing: border-box;
}

.report-card {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
  box-sizing: border-box;
}

.report-header h3 {
  margin: 0;
  color: #333;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  flex: 1;
}

.download-button {
  padding: 10px 20px;
  background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.download-button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
}

.download-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.report-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid #e1e5e9;
  margin: 10px 0;
  box-sizing: border-box;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.no-report-info {
  text-align: center;
  color: #999;
  font-style: italic;
  padding: 25px 20px;
  background: #f8fafc;
  border-radius: 16px;
  border: 1px solid #e1e5e9;
  margin: 10px 0;
  box-sizing: border-box;
}

/* 响应式优化 - 报告区域 */
@media (max-width: 768px) {
  .report-header {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  
  .download-button {
    width: 100%;
  }
  
  .report-info {
    grid-template-columns: 1fr;
  }
}

/* 增强分析模式切换样式 */
.analysis-mode-toggle {
  text-align: center;
  margin: 20px 0;
  padding: 0 20px;
  box-sizing: border-box;
}

.toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.toggle-checkbox {
  width: 20px;
  height: 20px;
  accent-color: #667eea;
  cursor: pointer;
}

.toggle-text {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.mode-description {
  margin-top: 4px;
  font-size: 12px;
  color: #666;
  font-style: italic;
}

/* 增强分析卡片样式 */
.enhanced-analysis-card {
  background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
  border: 2px solid #e6f0ff;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15), 0 4px 16px rgba(102, 126, 234, 0.08);
  animation: slideUp 0.6s ease-out;
  box-sizing: border-box;
}

.enhanced-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e6f0ff;
  box-sizing: border-box;
}

.enhanced-header h2 {
  margin: 0;
  font-size: 1.8rem;
  color: #333;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  flex: 1;
}

.enhanced-scores {
  display: flex;
  gap: 24px;
  align-items: center;
}

.total-score, .win-probability {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.score-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.score-value {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

/* 投资建议卡片 */
.investment-advice-card {
  background: white;
  border-radius: 16px;
  padding: 25px;
  border: 1px solid #e6f0ff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  margin: 15px 0;
  box-sizing: border-box;
}

.advice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
  box-sizing: border-box;
}

.recommendation-tag.enhanced {
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.risk-indicator {
  display: flex;
  align-items: center;
}

.risk-level {
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.risk-level.risk-low {
  background: #f6ffed;
  color: #52c41a;
  border: 1px solid #b7eb8f;
}

.risk-level.risk-medium {
  background: #fff7e6;
  color: #fa8c16;
  border: 1px solid #ffd591;
}

.risk-level.risk-high {
  background: #fff2f0;
  color: #ff4d4f;
  border: 1px solid #ffccc7;
}

/* 投资指标 */
.investment-metrics {
  margin: 25px 0;
  padding: 0 10px;
  box-sizing: border-box;
}

.metric-row {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.metric-row .metric-item {
  flex: 1;
  max-width: 200px;
  background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
  border: 2px solid #e6f0ff;
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.metric-row .metric-label {
  font-size: 14px;
  color: #666;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.metric-row .metric-value.highlight {
  font-size: 1.5rem;
  font-weight: 700;
  color: #667eea;
  margin: 0;
}

/* 详细评分分解 */
.detailed-scores-breakdown {
  margin: 30px 0;
  padding: 25px;
  background: #fafbff;
  border: 1px solid #e6f0ff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.detailed-scores-breakdown h4 {
  margin: 0 0 20px 0;
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  padding: 0 10px;
  box-sizing: border-box;
}

.scores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.score-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e6f0ff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  margin: 5px 0;
  box-sizing: border-box;
}

.score-name {
  flex: 0 0 80px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.score-bar {
  flex: 1;
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 8px;
}

.score-fill {
  height: 100%;
  transition: width 0.5s ease;
  border-radius: 4px;
}

.score-text {
  flex: 0 0 50px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  text-align: right;
}

/* 权重信息面板样式 */
.weight-info-panel {
  margin-bottom: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 100%);
  border: 2px solid #d9e6ff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.1);
  box-sizing: border-box;
}

.weight-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.weight-title {
  font-size: 14px;
  font-weight: 700;
  color: #667eea;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.weight-desc {
  font-size: 13px;
  color: #555;
  font-weight: 500;
  line-height: 1.4;
  padding: 0 10px;
  box-sizing: border-box;
}

/* 详细分析报告 */
.detailed-analysis-report {
  margin-top: 24px;
}

.detailed-analysis-report h4 {
  margin: 0 0 12px 0;
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
}

.analysis-content {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 16px;
  max-height: 400px;
  overflow-y: auto;
}

.analysis-content pre {
  margin: 0;
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* 价格估值指示器样式 */
.valuation-indicator {
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
  border: 2px solid #e6f0ff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.1);
  box-sizing: border-box;
}

.valuation-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 8px;
}

.valuation-label {
  font-size: 14px;
  font-weight: 600;
  color: #667eea;
}

.valuation-status {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.valuation-status.extremely-undervalued {
  background: linear-gradient(135deg, #f6ffed 0%, #f0fff4 100%);
  color: #237804;
  border: 2px solid #52c41a;
  box-shadow: 0 2px 8px rgba(82, 196, 26, 0.2);
}

.valuation-status.undervalued {
  background: #f6ffed;
  color: #389e0d;
  border: 1px solid #73d13d;
}

.valuation-status.fair-valued {
  background: #f0f9ff;
  color: #1890ff;
  border: 1px solid #69c0ff;
}

.valuation-status.overvalued {
  background: #fff7e6;
  color: #fa8c16;
  border: 1px solid #ffc069;
}

.valuation-status.extremely-overvalued {
  background: #fff2f0;
  color: #cf1322;
  border: 1px solid #ff7875;
}

.valuation-score {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  margin-left: 4px;
}

.valuation-tip {
  text-align: center;
  font-size: 12px;
  color: #237804;
  font-weight: 600;
  background: #f6ffed;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #b7eb8f;
  margin-top: 8px;
}

.valuation-warning {
  text-align: center;
  font-size: 12px;
  color: #cf1322;
  font-weight: 600;
  background: #fff2f0;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ffccc7;
  margin-top: 8px;
}

/* 响应式 - 价格估值 */
@media (max-width: 768px) {
  .valuation-info {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  
  .valuation-indicator {
    padding: 12px;
  }
  
  .valuation-tip,
  .valuation-warning {
    font-size: 11px;
    padding: 6px 10px;
  }
}
@media (max-width: 768px) {
  .enhanced-header {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  
  .enhanced-scores {
    justify-content: space-around;
    width: 100%;
  }
  
  .advice-header {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  
  .metric-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .metric-row .metric-item {
    max-width: none;
  }
  
  .scores-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    max-width: none;
    gap: 12px;
  }
  
  .score-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .score-name {
    flex: none;
  }
  
  .score-bar {
    width: 100%;
    margin: 0;
  }
  
  .score-text {
    flex: none;
    text-align: center;
  }
}